<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="css/style.css">
<title>添加奖惩</title>
<script type="text/javascript" src="<%=request.getContextPath()%>/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
function  checkinput(){
	<%--

	var cjTitleForAdd = $("#cjTitleForAdd").val();
	if ($.trim(cjTitleForAdd) == "" ) {
		alert("不能为空");
		return false;
	}
	var cjContentForAdd =$("#cjContentForAdd").val();
	if($.trim(cjContentForAdd) == ""){
		alert("不能为空");
		return false;
	}
		--%>
}
</script>
</head>
<body  background="<%=request.getContextPath()%>/images/background.jpg">
<center>
 <jsp:include page="../top.jsp" flush="true"></jsp:include>
	  <table width="800" height="48" border="0" cellpadding="0" cellspacing="0" background="<%=request.getContextPath()%>/images/center1.jpg" >
        <tr>
          <td valign="top"><table width="494">
            <tr>
              <td width="45" height="25">&nbsp;</td>
              <td width="437" valign="bottom"><a href="<%=request.getContextPath()%>/cj/cjLogin"><b>奖惩管理</b></a>&nbsp; &gt; <font color="#FF0000"> 添加奖惩信息</font></td>
            </tr>
          </table></td>
        </tr>
      </table>
	<form name="addCj"
		action="<%=request.getContextPath() %>/cj/returnAddCj"
		method="post" onsubmit="return checkinput()">
			<table width="800" height="340" border="0" cellpadding="0" cellspacing="0" background="<%=request.getContextPath()%>/images/center2.jpg">
				<tr>
					<td class="style4" height="40"><div align="center">奖惩标题</div></td>
					<td><input height="40" width="600" type="text" name="cjTitleForAdd" ><span
						style="color: red ">*</span></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">奖惩类型</div></td>
					<td><input height="40" width="600" type="text" name="cjTypeForAdd" ></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">奖惩内容</div></td>
					<td><textarea name="cjContentForAdd" cols="22" rows="4"></textarea><span style="color: red">*</span></td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">奖惩金额</div></td>
					<td><input height="40" width="600" type="text" name="cjMoneyForAdd" >(数字)</td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">奖惩时间</div></td>
					<td><input height="40" width="600" type="text" name="cjTimeForAdd" >格式：yyyy-MM-dd</td>
				</tr>
				<tr>
					<td class="style4" height="40"><div align="center">选择操作</div></td>
					<td><input type="submit" value="提交" /> <input type="reset"
						value="取消" /> <br></td>
				</tr>
			</table>
	</form>
		 <jsp:include page="../down.jsp" flush="true" />   
	</center>
</body>
</html>
